﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SX.Data
{
    public interface IConnectionString
    {
        /// <summary>
        /// 获取写链接字符串
        /// </summary>
        /// <param name="conn"></param>
        /// <returns></returns>
        string GetWriteConnectionString(string conn);
        /// <summary>
        /// 获取读链接字符串
        /// </summary>
        /// <param name="conn"></param>
        /// <returns></returns>
        string GetReadConnectionString(string conn);
    }
}
